#ifndef _VL_RTSP_DEFS__H_
#define _VL_RTSP_DEFS__H_

#include <memory>
#include <string>
#include <cstdint>

#define VL_RTSP_DEBUG 1

/**
 * @Author: CimZzz
 * @Date: 2022-01-10 11:34:52
 * 
 * 判断当前平台为大端字节序
 */
#define VL_RTSP_BIGENDIAN 0

/**
 * @Author: CimZzz
 * @Date: 2022-01-10 18:42:00
 * 
 * 定义 Socket 类型
 */
#define VL_SOCKET int


#if (VL_RTSP_DEBUG == 1)
	#include <cstdio>
	#define VL_PRINT(fmt, ...) printf(fmt "\n", ##__VA_ARGS__);
	#define VL_LOG(moduleName, info, ...) VL_PRINT("[" moduleName "] " info, ##__VA_ARGS__)
#else
	#define VL_PRINT(fmt, ...)
	#define VL_LOG(moduleName, info, ...)
#endif

#endif //_VL_RTSP_DEFS__H_
